package com.tbryant.test.redis.usagescenarios;

import com.tbryant.test.redis.RedisConstant;

/**
 * 消息生产者
 * @auther TBryant
 * @date 2021/5/26 16:40
 */
public class DelayQueueTestProducer {
    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            System.out.println(DelayQueue.setMessage(RedisConstant.REDIS_TEST_ZSET_KEY, "TBryant-" + i,5));
        }
    }
}
